package singleton.demo04;

public class Test {

    public static void main(String[] args) {

        Singleton04 instance1 = Singleton04.getInstance();
        Singleton04 instance2 = Singleton04.getInstance();
        System.out.println(instance1.hashCode() == instance2.hashCode());
    }
}
